package com.groupbuying.payconsumer.service.impl;

import com.groupbuying.payconsumer.dao.PayCurpayResultDao;
import com.groupbuying.payconsumer.domain.PayCurpayResultDO;
import com.groupbuying.payconsumer.service.PayCurpayResultService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class PayCurpayResultServiceImpl implements PayCurpayResultService {
    @Autowired
    private PayCurpayResultDao payCurpayResultDao;

    @Override
    public PayCurpayResultDO get(String id) {
        return payCurpayResultDao.get(id);
    }

    @Override
    public List<PayCurpayResultDO> list(Map<String, Object> map) {
        return payCurpayResultDao.list(map);
    }

    @Override
    public int count(Map<String, Object> map) {
        return payCurpayResultDao.count(map);
    }

    @Override
    public int save(PayCurpayResultDO payCurpayResult) {
        return payCurpayResultDao.save(payCurpayResult);
    }

    @Override
    public int update(PayCurpayResultDO payCurpayResult) {
        return payCurpayResultDao.update(payCurpayResult);
    }

    @Override
    public int remove(String id) {
        return payCurpayResultDao.remove(id);
    }

    @Override
    public int batchRemove(String[] ids) {
        return payCurpayResultDao.batchRemove(ids);
    }

}
